<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/base.css" />
		<link rel="stylesheet" href="css/ResourceLib_search.css" />
		<link rel="stylesheet" href="css/login.css" />
		<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="js/myValide/myValide.js"></script>
		<script type="text/javascript">
			$(function()
			{
				$('.personInfoForm').Validform(
					{
						tiptype:3, 
						ignoreHidden:true,
						dragonfly:false,
						tipSweep:false,
						label:".label",
						showAllError:false,
						postonce:true,
						ajaxPost:true
					}
				);
				
				/* function infoComplete()
				{
					event.preventDefault();
					var PHONE_NUMBER_VAL=$("#accountOrPhoneNumber").val();
//					var PHONE_NUMBER=$("#PHONE_NUMBER");
//					var VerifyCode_VAL=$("#VerifyCode").val();
					var password_VAL=$("#password").val();
//					layer.alert("电话:"+PHONE_NUMBER_VAL);
//					layer.alert("密码："+PASSWORD_VAL);
					console.log(PHONE_NUMBER_VAL);
//					console.log(VerifyCode_VAL);
					
					$.ajax({
						type:"post",
						url:"<%=basePath%>web_userControll/login",
						async:true,
						data:
						{
							accountOrPhoneNumber:PHONE_NUMBER_VAL,
							password:password_VAL
						},
						timeout:10000,
						dataType:'json',
						success:function(data,textStatus,jqXHR)
						{
					        console.log(data);
					        console.log(textStatus);
					        console.log(jqXHR);
					        if(data.code!=0)
					        {
					        	layer.alert(data.message, 
					        	{
						            icon: 1,
						            skin: 'layer-ext-moon'
						        });
					        	//alert(data.message);
					        }
					        else if(data.code==0)
					        {
					        	layer.alert(data.message, 
					        	{
						            icon: 1,
						            skin: 'layer-ext-moon'
						        });
					        	//alert(data.message);
						        setTimeout(redirect("main/index"),1000);
					        }
					    },
					    error:function(xhr,textStatus)
					    {
					        console.log('错误');
					        console.log(xhr);
					        console.log(textStatus);
					    },
					    complete:function()
					    {
					        console.log('结束');
					    }
					});
					
				} */
			});
		</script>
	</head>
	<body>
		
		<div id="login_head">
				<center>
				<div class="top">
				<img src="img/logo.png" class="logo" ></img>
				<ul class="nav">
					<li><a class="me" href="index.html">首页</a></li>
					<li><a class="me" href="index.html">资源库</a></li>
					<li><a class="me" href="index.html">公共资源库</a></li>
				</ul>
				</div>
				</center>
		</div>
		<small class="fleft mb5">当前位置：用户资料完善</small>
		<hr style="height: 0.5px; width: 100%;background: rgb(0,143,90);" />
		<br />
		<div id="resource_search" style="background-image: url(img/picture_login_bg.png);padding-top: 20px;padding-bottom: 20px;">
			<center>
			
			<form method="post" class="personInfoForm" action="<%=basePath%>web_userControll/userInfoComplete">
			<table id="resource_search_table" width="680"  border="0" cellspacing="10" cellpadding="0" bgcolor="white" style="border-radius: 10px;">
				<tr align="left">
					<td width="80">真实姓名：</td>
					<td><input type="text" name="REAL_NAME" placeholder="请输入姓名" datatype="*" errormsg="请输入姓名"/></td>
				</tr>
				<tr align="left">
					<td width="80">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
					<td>
						<select name="SEX" style="height: 35px;width:100px;border-radius: 3px;float: left;" datatype="*" nullmsg="请选择性别">
							<option >请选择性别</option>
							<option value="man">男</option>
							<option value="women">女</option>
						</select>
					</td>
				</tr>
				
				
				<!-- <tr align="left">
					<td width="80">年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;龄：</td>
					<td><input name="age" placeholder="请输入年龄" datatype="n2-2" errormsg="年龄为两位数字"></input></td>
				</tr> -->
				<tr align="left">
					<td width="80">国&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;籍：</td>
					<td><input name="NATION" placeholder="请输入年龄" datatype="n2-2" errormsg="年龄为两位数字"></input></td>
				</tr>
				<tr align="left">
					<td width="80">身份证号：</td>
					<td><input name="ID_NO" placeholder="请输入身份证号" datatype="n10-20|s10-20" errormsg="身份证号输入有误"></input></td>
				</tr>
				<tr align="left">
					<td width="80">电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：</td>
					<td><input name="PHONE_NUMBER" placeholder="请输入电话" datatype="n11-11" errormsg="请输入有效的手机号码"></input></td>
				</tr>
				<tr align="left">
					<td width="80">地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：</td>
					<td><input name="ADDRESS" placeholder="请输入地址"></input></td>
				</tr>
				<!-- <tr align="left">
					<td width="80">邮&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;箱：</td>
					<td><input type="text" name="email" placeholder="请输入邮箱" datatype="e"></input></td>
				</tr> -->
				<tr align="left">
					<td width="80">工&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</td>
					<td><input name="STAFF_NUMBER" placeholder="请输入工号" datatype="n10-15" errormsg="请输入工号"></input></td>
				</tr>
				<!-- <tr align="left">
					<td width="80">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位：</td>
					<td><input name="job" placeholder="请输入职位" datatype="*" nullmsg="请输入职位"></input></td>
				</tr> -->
				
				
				
				<tr><td>&nbsp;</td></tr>
				<tr align="center">
					<td colspan="2"><input type="submit" value="提交资料"/></td>
				</tr>
			</table>
			</form>
			<!--<div style="clear: both;"></div>-->
			</center>
		</div>
	</body>
</html>
